<div class="block-area">

    <table class="sc-default-table">
      <thead>
        <tr class="thead">
            <th class="align-center w-150">用户</th>
            <th class="align-center w-100">佣金</th>
            <th class="align-center w-100">代理商</th>
            <th class="align-center w-100">订单号</th>
            <th class="align-center w-100">类型</th>
            <th class="align-center w-120">{$Think.lang.addtime}</th>
            <th class="align-center">{$Think.lang.remark}</th>
        </tr>
      </thead>
      <tbody>
        {notempty name="list"}
        {foreach name="list" item="v" key="k" }
        <tr class="hover member">
            <td class="align-center">{$v.member_name}</td>
            <td class="align-center">{$v.amount}</td>
            <td class="align-center"> <a href="{:url('Shop/memberinfo',['member_id' => $v.inviter_id])}">{$v.inviter_name}</a></td>
            <td class="align-center">
                <a href="javascript:scLayerOpen('{:url('Order/show_order',['order_id'=>$v.order_id])}','查看实物订单-{$order.order_sn}')" >{$v.order_sn}</a>
            </td>
            <td class="align-center">{$v.commission_type|dict_get='commission_type',###}</td>
            <td class="align-center">{$v.create_time|date='Y-m-d H:i',###}</td>
            <td class="align-center">{$v.remark}</td>

        </tr>
        {/foreach}

        {else /}
        <tr class="no_data">
          <td colspan="11">{$Think.lang.sc_no_record}</td>
        </tr>
        {/notempty}
      </tbody>
      
    </table>
    {$show_page}

</div>
<script>
    $(function(){
        $('.pagination a').each(function(){
            $(this).data('url',$(this).attr('href')).attr('href','javascript:void(0)')
            $(this).click(function(){
                $('#member_list_wrap').load($(this).data('url'));
            })
        })
    })
</script>